interface CountryCoordinate {
  readonly name: string
  readonly coordinates: [number, number]
}

// 按照洲际分组维护国家坐标
export const countryCoordinates: Record<string, CountryCoordinate> = {
  // 亚洲
  '中国': { name: '中国', coordinates: [116.2, 39.55] },
  '日本': { name: '日本', coordinates: [138.2529, 36.2048] },
  '韩国': { name: '韩国', coordinates: [127.7669, 35.9078] },
  '朝鲜': { name: '朝鲜', coordinates: [127.5101, 40.3399] },
  '蒙古': { name: '蒙古', coordinates: [103.8467, 46.8625] },
  '越南': { name: '越南', coordinates: [108.2772, 14.0583] },
  '老挝': { name: '老挝', coordinates: [102.4955, 19.8563] },
  '柬埔寨': { name: '柬埔寨', coordinates: [104.9910, 12.5657] },
  '泰国': { name: '泰国', coordinates: [100.9925, 15.8700] },
  '缅甸': { name: '缅甸', coordinates: [95.9560, 21.9162] },
  '马来西亚': { name: '马来西亚', coordinates: [101.9758, 4.2105] },
  '新加坡': { name: '新加坡', coordinates: [103.8198, 1.3521] },
  '印度尼西亚': { name: '印度尼西亚', coordinates: [113.9213, -0.7893] },
  '菲律宾': { name: '菲律宾', coordinates: [121.7740, 12.8797] },
  '文莱': { name: '文莱', coordinates: [114.7277, 4.5353] },
  '东帝汶': { name: '东帝汶', coordinates: [125.7275, -8.8742] },
  '尼泊尔': { name: '尼泊尔', coordinates: [84.1240, 28.3949] },
  '不丹': { name: '不丹', coordinates: [90.4336, 27.5142] },
  '孟加拉国': { name: '孟加拉国', coordinates: [90.3563, 23.6850] },
  '印度': { name: '印度', coordinates: [78.9629, 20.5937] },
  '巴基斯坦': { name: '巴基斯坦', coordinates: [69.3451, 30.3753] },
  '阿富汗': { name: '阿富汗', coordinates: [67.7100, 33.9391] },
  '斯里兰卡': { name: '斯里兰卡', coordinates: [80.7718, 7.8731] },
  '马尔代夫': { name: '马尔代夫', coordinates: [73.2207, 3.2028] },
  '哈萨克斯坦': { name: '哈萨克斯坦', coordinates: [66.9237, 48.0196] },
  '吉尔吉斯斯坦': { name: '吉尔吉斯斯坦', coordinates: [74.7661, 41.2044] },
  '塔吉克斯坦': { name: '塔吉克斯坦', coordinates: [71.2761, 38.8610] },
  '乌兹别克斯坦': { name: '乌兹别克斯坦', coordinates: [64.5853, 41.3775] },
  '土库曼斯坦': { name: '土库曼斯坦', coordinates: [59.5563, 38.9697] },
  '伊朗': { name: '伊朗', coordinates: [53.6880, 32.4279] },
  '伊拉克': { name: '伊拉克', coordinates: [43.6793, 33.2232] },
  '叙利亚': { name: '叙利亚', coordinates: [38.9968, 34.8021] },
  '黎巴嫩': { name: '黎巴嫩', coordinates: [35.8623, 33.8547] },
  '以色列': { name: '以色列', coordinates: [34.8516, 31.0461] },
  '约旦': { name: '约旦', coordinates: [36.2384, 30.5852] },
  '沙特阿拉伯': { name: '沙特阿拉伯', coordinates: [45.0792, 23.8859] },
  '也门': { name: '也门', coordinates: [48.5164, 15.5527] },
  '阿曼': { name: '阿曼', coordinates: [55.9754, 21.4735] },
  '阿联酋': { name: '阿联酋', coordinates: [53.8478, 23.4241] },
  '卡塔尔': { name: '卡塔尔', coordinates: [51.1839, 25.3548] },
  '巴林': { name: '巴林', coordinates: [50.5577, 26.0667] },
  '科威特': { name: '科威特', coordinates: [47.4818, 29.3117] },

  // 欧洲
  '英国': { name: '英国', coordinates: [-3.4359, 55.3781] },
  '爱尔兰': { name: '爱尔兰', coordinates: [-8.2439, 53.4129] },
  '法国': { name: '法国', coordinates: [2.2137, 46.2276] },
  '德国': { name: '德国', coordinates: [10.4515, 51.1657] },
  '比利时': { name: '比利时', coordinates: [4.4699, 50.8503] },
  '荷兰': { name: '荷兰', coordinates: [5.2913, 52.1326] },
  '卢森堡': { name: '卢森堡', coordinates: [6.1296, 49.8153] },
  '瑞士': { name: '瑞士', coordinates: [8.2275, 46.8182] },
  '意大利': { name: '意大利', coordinates: [12.5674, 41.8719] },
  '西班牙': { name: '西班牙', coordinates: [-3.7492, 40.4637] },
  '葡萄牙': { name: '葡萄牙', coordinates: [-8.2245, 39.3999] },
  '希腊': { name: '希腊', coordinates: [21.8243, 39.0742] },
  '保加利亚': { name: '保加利亚', coordinates: [25.4858, 42.7339] },
  '罗马尼亚': { name: '罗马尼亚', coordinates: [24.9668, 45.9432] },
  '摩尔多瓦': { name: '摩尔多瓦', coordinates: [28.3699, 47.4116] },
  '乌克兰': { name: '乌克兰', coordinates: [31.1656, 48.3794] },
  '白俄罗斯': { name: '白俄罗斯', coordinates: [27.9534, 53.7098] },
  '俄罗斯': { name: '俄罗斯', coordinates: [105.3188, 61.5240] },
  '波兰': { name: '波兰', coordinates: [19.1451, 51.9194] },
  '捷克': { name: '捷克', coordinates: [15.4729, 49.8175] },
  '斯洛伐克': { name: '斯洛伐克', coordinates: [19.6990, 48.6690] },
  '匈牙利': { name: '匈牙利', coordinates: [19.5033, 47.1625] },
  '奥地利': { name: '奥地利', coordinates: [14.5501, 47.5162] },
  '瑞典': { name: '瑞典', coordinates: [18.6435, 60.1282] },
  '挪威': { name: '挪威', coordinates: [8.4689, 60.4720] },
  '芬兰': { name: '芬兰', coordinates: [25.7482, 61.9241] },
  '丹麦': { name: '丹麦', coordinates: [9.5018, 56.2639] },
  '冰岛': { name: '冰岛', coordinates: [-19.0208, 64.9631] },
  '爱沙尼亚': { name: '爱沙尼亚', coordinates: [25.0136, 58.5953] },
  '拉脱维亚': { name: '拉脱维亚', coordinates: [24.6032, 56.8796] },
  '立陶宛': { name: '立陶宛', coordinates: [23.8813, 55.1694] },

  // 北美洲
  '美国': { name: '美国', coordinates: [-95.7129, 37.0902] },
  '加拿大': { name: '加拿大', coordinates: [-106.3468, 56.1304] },
  '墨西哥': { name: '墨西哥', coordinates: [-102.5528, 23.6345] },
  '古巴': { name: '古巴', coordinates: [-77.7812, 21.5218] },
  '牙买加': { name: '牙买加', coordinates: [-77.2975, 18.1096] },
  '海地': { name: '海地', coordinates: [-72.2852, 18.9712] },
  '多米尼加': { name: '多米尼加', coordinates: [-70.1627, 18.7357] },
  '巴哈马': { name: '巴哈马', coordinates: [-77.3963, 25.0343] },
  '危地马拉': { name: '危地马拉', coordinates: [-90.2308, 15.7835] },
  '伯利兹': { name: '伯利兹', coordinates: [-88.4976, 17.1899] },
  '萨尔瓦多': { name: '萨尔瓦多', coordinates: [-88.8965, 13.7942] },
  '洪都拉斯': { name: '洪都拉斯', coordinates: [-86.2419, 15.1994] },
  '尼加拉瓜': { name: '尼加拉瓜', coordinates: [-85.2072, 12.8654] },
  '哥斯达黎加': { name: '哥斯达黎加', coordinates: [-83.7534, 9.7489] },
  '巴拿马': { name: '巴拿马', coordinates: [-80.7821, 8.5380] },

  // 南美洲
  '巴西': { name: '巴西', coordinates: [-51.9253, -14.2350] },
  '阿根廷': { name: '阿根廷', coordinates: [-63.6167, -38.4161] },
  '智利': { name: '智利', coordinates: [-71.5430, -35.6751] },
  '乌拉圭': { name: '乌拉圭', coordinates: [-55.7658, -32.5228] },
  '巴拉圭': { name: '巴拉圭', coordinates: [-58.4438, -23.4425] },
  '玻利维亚': { name: '玻利维亚', coordinates: [-63.5887, -16.2902] },
  '秘鲁': { name: '秘鲁', coordinates: [-75.0152, -9.1900] },
  '厄瓜多尔': { name: '厄瓜多尔', coordinates: [-78.1834, -1.8312] },
  '哥伦比亚': { name: '哥伦比亚', coordinates: [-74.2973, 4.5709] },
  '委内瑞拉': { name: '委内瑞拉', coordinates: [-66.5897, 6.4238] },
  '圭亚那': { name: '圭亚那', coordinates: [-58.9302, 4.8604] },
  '苏里南': { name: '苏里南', coordinates: [-56.0278, 3.9193] },

  // 非洲
  '埃及': { name: '埃及', coordinates: [30.8025, 26.8206] },
  '利比亚': { name: '利比亚', coordinates: [17.2283, 26.3351] },
  '突尼斯': { name: '突尼斯', coordinates: [9.5375, 33.8869] },
  '阿尔及利亚': { name: '阿尔及利亚', coordinates: [1.6596, 28.0339] },
  '摩洛哥': { name: '摩洛哥', coordinates: [-7.0926, 31.7917] },
  '苏丹': { name: '苏丹', coordinates: [30.2176, 12.8628] },
  '南苏丹': { name: '南苏丹', coordinates: [31.3070, 6.8770] },
  '埃塞俄比亚': { name: '埃塞俄比亚', coordinates: [40.4897, 9.1450] },
  '厄立特里亚': { name: '厄立特里亚', coordinates: [39.7823, 15.1794] },
  '索马里': { name: '索马里', coordinates: [46.1996, 5.1521] },
  '肯尼亚': { name: '肯尼亚', coordinates: [37.9062, -0.0236] },
  '乌干达': { name: '乌干达', coordinates: [32.2903, 1.3733] },
  '坦桑尼亚': { name: '坦桑尼亚', coordinates: [34.8888, -6.3690] },
  '卢旺达': { name: '卢旺达', coordinates: [29.8739, -1.9403] },
  '布隆迪': { name: '布隆迪', coordinates: [29.9189, -3.3731] },
  '刚果民主共和国': { name: '刚果民主共和国', coordinates: [21.7587, -4.0383] },
  '刚果共和国': { name: '刚果共和国', coordinates: [15.2272, -0.2280] },
  '赞比亚': { name: '赞比亚', coordinates: [27.8493, -13.1339] },
  '安哥拉': { name: '安哥拉', coordinates: [17.8739, -11.2027] },
  '纳米比亚': { name: '纳米比亚', coordinates: [18.4904, -22.9576] },
  '博茨瓦纳': { name: '博茨瓦纳', coordinates: [24.6849, -22.3285] },
  '津巴布韦': { name: '津巴布韦', coordinates: [29.1549, -19.0154] },
  '莫桑比克': { name: '莫桑比克', coordinates: [35.5296, -18.6657] },
  '马达加斯加': { name: '马达加斯加', coordinates: [46.8691, -18.7669] },
  '南非': { name: '南非', coordinates: [22.9375, -30.5595] },
  '尼日利亚': { name: '尼日利亚', coordinates: [8.6753, 9.0820] },
  '加纳': { name: '加纳', coordinates: [-1.0232, 7.9465] },
  '科特迪瓦': { name: '科特迪瓦', coordinates: [-5.5471, 7.5400] },
  '塞内加尔': { name: '塞内加尔', coordinates: [-14.4524, 14.4974] },

  // 大洋洲
  '澳大利亚': { name: '澳大利亚', coordinates: [133.7751, -25.2744] },
  '新西兰': { name: '新西兰', coordinates: [174.8860, -40.9006] },
  '巴布亚新几内亚': { name: '巴布亚新几内亚', coordinates: [143.9555, -6.3148] },
  '斐济': { name: '斐济', coordinates: [178.0650, -17.7134] },
  '所罗门群岛': { name: '所罗门群岛', coordinates: [160.1562, -9.6457] },
  '瓦努阿图': { name: '瓦努阿图', coordinates: [166.9590, -15.3767] }
} 